import request from '@/utils/request'
/*顶部数字*/
export function queryOrgTypeNum (pv) {
  return request({
    url: 'bzfwScreenOrg/queryOrgTypeNum',
    method: 'get',
    params: { pv }
  })
}
/*动态监管*/
export function queryBzfwYjlyCount (pv) {
  return request({
    url: 'bzfwScreenWarn/queryBzfwYjlyCount',
    method: 'get',
    params: { pv }
  })
}
/* 智能监管-无参 */
export function queryWarnNumVo (pv) {
  return request({
    url: 'bzfwScreenWarn/queryWarnNumVo',
    method: 'get',
    params: { pv }
  })
}
/* 客流眼-参数 */
export function queryPeopleNum (pv) {
  return request({
    url: 'kly/queryPeopleNum',
    method: 'get',
    params: pv
  })
}
export function getPoineAreaAllNumList (pv) {
  return request({
    url: 'https://pdbz.intcity.com.cn/watchman/postWanDa/getPoineAreaAllNumList',
    method: 'post',
    data: pv
  })
}

export function queryPeopleMaxNum (pv) {
  return request({
    url: 'kly/queryPeopleMaxNum',
    method: 'get',
    params: pv
  })
}
/* 底部滚动工单-参数 */
export function orgJgGd (pv) {
  return request({
    url: 'http://117.131.40.182:8760/pddsj_interface/supervision/orgJgGd',
    method: 'get',
    params: pv
  })
}

export function queryBzfwOrgNoPageList (pv) {
  return request({
    url: 'bzfwScreenOrg/queryBzfwOrgNoPageList',
    method: 'get',
    params: pv
  })
}
export function queryScreenBurialSiteNoPage (pv) {
  return request({
    url: 'bzfwScreenOrg/queryScreenBurialSiteNoPage',
    method: 'get',
    params: pv
  })
}
/* 智能发现撒点 */
export function queryWarnOrgListByWarnType (pv) {
  return request({
    url: 'bzfwScreenWarn/queryWarnOrgListByWarnType',
    method: 'get',
    params: pv
  })
}
/* 动态监管 */
export function queryBzfwOrderEnd (pv) {
  return request({
    url: 'bzfwScreenWarn/queryBzfwOrderEnd',
    method: 'get',
    params: pv
  })
}
/* 2-日常发现/1-智能发现/3-年审反馈 */
export function queryBzfwWarnEndList (pv) {
  return request({
    url: 'bzfwScreenWarn/queryBzfwWarnEndList',
    method: 'get',
    params: pv
  })
}
/* 待售墓穴 */
export function queryNosoldGrave (pv) {
  return request({
    url: 'bzfwScreenOrg/queryNosoldGrave',
    method: 'get',
    params: pv
  })
}
/* 监管全生命周期 */
export function queryBzfwOrgJgJgsmzq (pv) {
  return request({
    url: 'bzfwScreenWarn/queryBzfwOrgJgJgsmzq',
    method: 'get',
    params: pv
  })
}
/*预警详情*/
export function queryWarnOrgInfoByWarnId (pv) {
  return request({
    url: 'bzfwScreenWarn/queryWarnOrgInfoByWarnId',
    method: 'get',
    params: pv
  })
}
/* 底部滚动工单弹框详情 */
export function queryJgJgXq (pv) {
  return request({
    url: 'http://117.131.40.182:8760/pddsj_interface/supervision/queryJgJgXq',
    method: 'get',
    params: pv
  })
}
export function bzfwOrgJgGd (pv) {
  return request({
    url: 'bzfwScreenWarn/bzfwOrgJgGd',
    method: 'get',
    params: pv
  })
}
export function bzfwOrgJgGdInfo (pv) {
  return request({
    url: 'bzfwScreenWarn/bzfwOrgJgGdInfo',
    method: 'get',
    params: pv
  })
}

export function queryVideo (pv) {
  return request({
    url: 'https://www.vzicar.com/v2/stp/user/devices/pdns',
    method: 'get',
    params: pv
  })
}

export function organizationsInfoCollect (pv) {
  return request({
    url: '/dataSea/organizationsInfoCollect',
    method: 'get',
    params: { pv }
  })
}

export function createArticle (data) {
  return request({
    url: '/vue-element-admin/article/create',
    method: 'post',
    data
  })
}
/* 客流眼-右上角消息列表 */
export function queryBzfwKlyWarnMessage (pv) {
  return request({
    url: '/kly/queryBzfwKlyWarnMessage',
    method: 'get',
    params: { pv }
  })
}
/* 客流眼-关闭客流眼预警消息提示 */
export function shutdownKlyWarnById (data) {
  return request({
    url: '/kly/shutdownKlyWarnById',
    method: 'get',
    params: data
  })
}
/* 客流眼-智能发现客流眼预警数量 */
export function queryBzfwKlyWarnCount (pv) {
  return request({
    url: '/kly/queryBzfwKlyWarnCount',
    method: 'get',
    params: { pv }
  })
}
/* 客流眼-点击智能预警客流眼客流眼预警列表 */
export function queryBzfwKlyWarnList (pv) {
  return request({
    url: '/kly/queryBzfwKlyWarnList',
    method: 'get',
    params: { pv }
  })
}
